package app.kotlin_1.basemvp
import java.io.Serializable

/**
 * Created by 刘智强 on 2017/10/13.
 */
class TestModel : BaseModel, Serializable {
     var name: String? = null
    constructor(name: String?) : super() {
        this.name = name
    }
    override fun getModelFromNet(): TestModel = TestModel("Model from Net")
    override fun getModelFromCache(): TestModel = TestModel("Model from Cache")
}